home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 050a / systrk10.zip / INSTALL.BAT next >
DOS Batch File  |  1992-01-12  |  2KB  |  55 lines

  1. @echo off
  2. ECHO OFF
  3. if "%1%"=="" goto bad
  4. For %%x In (a,b,c,d,e,f,g,h,i) Do If %%x == %1 goto option_1
  5. For %%x In (A,B,C,D,E,F,G,H,I) Do If %%x == %1 goto option_1
  6. For %%x In (a:,b:,c:,d:,e:,f:,g:,h:,i:) Do If %%x == %1 goto option_2
  7. For %%x In (A:,B:,C:,D:,E:,F:,G:,H:,I:) Do If %%x == %1 goto option_2
  8. For %%x In (j,k,l,m,n,o,p,q,r) Do If %%x == %1 goto option_1
  9. For %%x In (J,K,L,M,N,O,P,Q,R) Do If %%x == %1 goto option_1
  10. For %%x In (j:,k:,l:,m:,n:,o:,p:,q:,r:) Do If %%x == %1 goto option_2
  11. For %%x In (J:,K:,L:,M:,N:,O:,P:,Q:,R:) Do If %%x == %1 goto option_2
  12. For %%x In (s,t,u,v,w,x,y,z) Do If %%x == %1 goto option_1
  13. For %%x In (S,T,U,V,W,X,Y,Z) Do If %%x == %1 goto option_1
  14. For %%x In (s:,t:,u:,v:,w:,x:,y:,z:) Do If %%x == %1 goto option_2
  15. For %%x In (S:,T:,U:,V:,W:,X:,Y:,Z:) Do If %%x == %1 goto option_2
  16. goto bad
  17. :option_1
  18. cls
  19. echo ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  20. echo                SYSTRACK will be installed on %1%:\systrack
  21. echo ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  22. echo .
  23. echo If this is NOT correct, hold down the CTRL key and press C.  When prompted
  24. echo "Terminate batch file (Y/N)?"  type Y.   Then, rerun this program with the
  25. echo proper information.  If this IS correct, then
  26. pause
  27. cls
  28. md %1%:\systrack
  29. systrk10 %1%:\systrack
  30. goto end
  31. :option_2
  32. cls
  33. echo ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  34. echo                SYSTRACK will be installed on %1%\systrack
  35. echo ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  36. echo .
  37. echo If this is NOT correct, hold down the CTRL key and press C.  When prompted
  38. echo "Terminate batch file (Y/N)?"  type Y.   Then, rerun this program with the
  39. echo proper information.  If this IS correct, then
  40. pause
  41. md %1%\systrack
  42. systrk10 %1%\systrack
  43. goto end
  44. :bad
  45. cls
  46. echo --------------------------------------------------------------------------
  47. echo USAGE:  install [Destination]
  48. echo WHERE:
  49. echo    [Destination] is the drive where SYSTRACK is to be installed.
  50. echo      Usually, this is C
  51. echo --------------------------------------------------------------------------
  52. echo EXAMPLE:  install c        [do NOT include a colon after the drive letter]
  53. echo --------------------------------------------------------------------------
  54. :end
  55.